package tacos.repository;

import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.PagingAndSortingRepository;
import tacos.domain.User;

/**
 * User持久层 User -> UserRepository
 */
public interface UserRepository extends PagingAndSortingRepository<User,Long> {
    User findByUsernameContains(String username);
    User findByUsername(String username);
}
